home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / projectiles / riflemortar.tik < prev    next >
Encoding:
Text File  |  2002-10-29  |  832 b   |  46 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 0.52    // Needs to be unnaturally large so it is visible
  5.     path models/projectiles/kar98grenade
  6.     skelmodel kar98grenade_proj.skd
  7.     surface kar98Gren_proj shader kar98Gren_proj
  8. }
  9.  
  10.  
  11. init
  12. {
  13.     server
  14.     {
  15.         classname Projectile
  16.         anim idle
  17.         setsize       "-2 -2 -2" "2 2 2"
  18.         speed         1400
  19.         minspeed      300
  20.         gravity          0.8
  21.         life          20.0
  22.         hitdamage     100
  23.         health        20
  24.         takedamage
  25.         meansofdeath  grenade
  26.         impactmarkshader      blastmark
  27.         impactmarkradius      50
  28.         impactmarkorientation random
  29.         explosionmodel models/fx/M2FGrenadeExplosion.tik
  30.         smashthroughglass 64
  31. //        avelocity random 10 random 10 20
  32.         explodeontouch
  33.  
  34.     }
  35.     client
  36.     {
  37.         cache blastmark.spr
  38.         cache models/fx/M2FGrenadeExplosion.tik
  39.     }
  40. }
  41.  
  42. animations
  43. {
  44.     idle    kar98grenade_proj.skc
  45. }
  46.